<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	$(document).ready(function(){
			$("#updateBoardForm").submit(function(){
				alert("수정하기");
			});
	});
</script>
</head>
<body>
<form method="post" action="${initParam.root}/qaupdateBoard.do" id="updateBoardForm">
<center>
<table border="1" cellpadding="5">
	<tr>
		<td>글번호 : <input size="2" type="text" name="no" value="${requestScope.bvo.no }" readonly></td>
		<td>제목 :<input size="20" type="text" name="title" value="${requestScope.bvo.title }" ></td>
		<%-- <td>아이디 : <input size="2" type="text" name="id" value="${requestScope.bvo.memberVO.id }" readonly ></td> --%>
	</tr>
	<tr>
		<td colspan="1">조회수 :<input size="2" type="text" name="count" value="${requestScope.bvo.count }" readonly></td>
		<td colspan="2">날짜 :<input type="text" name="writedate" value="${requestScope.bvo.writedate }" readonly></td>
	</tr>
	<tr>
	<td colspan="3"><textarea rows="10" cols="45" name="content" style="resize:none">${requestScope.bvo.content }</textarea></td>
	</tr>
</table>
<input type="submit" id="update" value="수정하기">
</form>
</center>
</body>
</html>